package org.lmaor.menu;

import org.lmaor.menu.entry.Menu;
import org.lmaor.menu.mg.MenuManageImpl;

public class MTest {

	public static void main(String[] args) {
		MenuManage<Integer> mg = new MenuManageImpl<Integer>();
		
		Menu<Integer> m1 = mg.create("/abc",1);
		mg.create("/abc/lll/v", 2000);
		
		m1.add("x","123",22);
		
		System.out.println(mg.getValue("/abc"));
		System.out.println(mg.getValue("/abc/x"));
		mg.remove("/abc");
		System.out.println(mg.getValue("/abc/x"));
		System.out.println(m1.getValue("lll/v"));
		
	}

}
